/*
 * Copyright (C) 2011-2015 ShenZhen iBOXPAY Information Technology Co.,Ltd.
 * 
 * All right reserved.
 * 
 * This software is the confidential and proprietary
 * information of iBoxPay Company of China. 
 * ("Confidential Information"). You shall not disclose
 * such Confidential Information and shall use it only
 * in accordance with the terms of the contract agreement 
 * you entered into with iBoxpay inc.
 *
 */

package com.iboxpay.sdk;

import java.awt.BorderLayout;
import java.util.HashMap;
import java.util.Map;

import javax.swing.JFrame;

/**
 * The class MainClass.
 * <p/>
 * Description:
 *
 * @author: nieminjie
 * @since: 2016年2月29日
 * @version: $Revision$ $Date$ $LastChangedBy$
 */

public class MainClass extends JFrame {

	public static void main(String[] args) {
//		MainClass m = new MainClass();
//		m.setTitle("签名工具");
//		m.setVisible(true);
//		m.setLayout(new BorderLayout());
//		SignTool tool = new SignTool();
//		tool.setVisible(true);
//		m.add(tool, BorderLayout.CENTER);
//		m.setSize(600, 400);
//		m.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		Map map = new HashMap();
		map.put("ok", "ok");
		System.out.println(SignUtil.sign(map, "MD5", "", ""));
		;
	}

}
